package wsi.gui.detector;

import org.rygh.core.face.IHasName;
import org.rygh.gui.swing.table.STableDataModel;

import wsi.gui.detector.DetectorTuple.Property;

@SuppressWarnings("serial")
public class DetectorTableModel extends STableDataModel<DetectorTuple> {

	public DetectorTableModel() {
		addIdColumn();
		addColumn("Entity", IHasName.NAME);
		addColumn("Value", Property.Value);
		addColumn(Property.WebCalls.name(), Property.WebCalls, Integer.class);
		addColumn(Property.Degree.name(), Property.Degree, Integer.class);
		addColumn(Property.MatchCount.name(), Property.MatchCount,
				Integer.class);
	}

}
